package servicios;

import daos.ReservaHome;
import modelo.Operation;
import modelo.Reserva;


public class ConsultarReserva implements Operation<Reserva>{
		    
	    private Integer id;

		public ConsultarReserva (Integer id) {
	        super();
	        this.id = id;
	    }

	    public Reserva execute() {
	    	Reserva reserva;
	    	reserva = new ReservaHome().consultarReserva(id);
	        return reserva;
	    }
}